package com.mbg17.dao;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.mbg17.domain.Interface;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Entity generator.domain.TInterface
 */
public interface InterfaceMapper extends BaseMapper<Interface> {
    IPage<Interface> findAllInterFace(IPage<?> page, @Param(Constants.WRAPPER) Wrapper wrapper);

    Interface getInterfaceById(@Param("id") Integer id);

    List<Interface> findInterFasesByModuleId(@Param("id") Integer id);
}
